package com.huakai.springenv.entity.po;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class AmountLogEntity {
    private Long id;

    private String userId;

    private BigDecimal amount;

    public AmountLogEntity(String userId, BigDecimal amount) {
        this.userId = userId;
        this.amount = amount;
    }
}
